﻿<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>添加用户</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <script src="../../myjs/util.js"></script>
    <script>
        isHasToken();
    </script>
    <script src="../../miniui/scripts/boot.js" type="text/javascript"></script>


    <style type="text/css">
        html,
        body {
            padding: 0;
            margin: 0;
            border: 0;
            height: 100%;
            overflow: hidden;
        }
    </style>
</head>

<body>

    <form id="userForm" method="post">
        <input name="uuid" class="mini-hidden" />
        <fieldset style="border:solid 1px #aaa;padding:3px;">
            <legend>基本信息</legend>
            <div style="padding:5px;">
                <table>
                    <tr>
                        <td style="width:80px;">账号</td>
                        <td style="width:150px;">
                            <input id="username" name="username" class="mini-textbox" required="true"
                                onvalidation="onStatusValidation" />
                        </td>
                        <td>年龄：</td>
                        <td>
                            <input name="age" class="mini-spinner" minValue="18" maxValue="100" />
                        </td>
                    </tr>

                    <tr>
                        <td style="width:80px;">姓名</td>
                        <td style="width:150px;">
                            <input name="nickname" class="mini-textbox" required="true" />
                        </td>
                        <td style="width:80px;">性别：</td>
                        <td>
                            <select name="sex" class="mini-radiobuttonlist">
                                <option value="1">男</option>
                                <option value="2">女</option>
                            </select>
                        </td>
                    </tr>

                    <tr>
                        <td style="width:80px;">密码</td>
                        <td style="width:150px;">
                            <input name="password" class="mini-password" required="true" />
                        </td>
                        <td style="width:80px;">状态：</td>
                        <td>
                            <select name="status" class="mini-radiobuttonlist">
                                <option value="1">启用</option>
                                <option value="2">停用</option>
                            </select>
                        </td>
                    </tr>
                </table>
            </div>
        </fieldset>
        <div style="text-align:center;padding:10px;">
            <a class="mini-button" onclick="onOk" style="width:60px;margin-right:20px;">确定</a>
            <a class="mini-button" onclick="onCancel" style="width:60px;">取消</a>
        </div>
    </form>
</body>
</html>
<script src="../../myjs/user/addUpdate.js"></script>